/* Documentation page styles */

/* Make headings more prominent */
.markdown h1 {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  color: var(--ifm-color-primary-dark);
}

.markdown h2 {
  font-size: 2rem !important;
  font-weight: 600 !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
  border-bottom: 2px solid var(--ifm-color-primary-lightest);
  padding-bottom: 0.5rem;
}

.markdown h3 {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin-top: 1.5rem !important;
  color: var(--ifm-color-primary-darker);
}

.markdown h4 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin-top: 1.25rem !important;
}

/* Add extra styling for lists in documentation */
.markdown ul,
.markdown ol {
  padding-left: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.markdown li {
  margin-bottom: 0.5rem !important;
}

/* Make code blocks pop */
.markdown pre {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Style blockquotes */
.markdown blockquote {
  border-left-color: var(--ifm-color-primary) !important;
  background-color: var(--ifm-color-primary-lightest);
  opacity: 0.9;
  padding: 1rem !important;
  margin: 1.5rem 0 !important;
}

/* Style images in documentation */
.markdown img {
  display: block;
  margin: 1.5rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style tables */
.markdown table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 !important;
}

.markdown table th {
  background-color: var(--ifm-color-primary-lightest);
  font-weight: 600;
}

.markdown table th,
.markdown table td {
  padding: 0.75rem !important;
  border: 1px solid var(--ifm-color-emphasis-300);
}

/* Dark mode adjustments */
html[data-theme="dark"] .markdown h1 {
  color: var(--ifm-color-primary-lighter);
}

html[data-theme="dark"] .markdown h2 {
  border-bottom-color: var(--ifm-color-primary-darker);
}

html[data-theme="dark"] .markdown h3 {
  color: var(--ifm-color-primary-lighter);
}

html[data-theme="dark"] .markdown blockquote {
  background-color: var(--ifm-color-emphasis-100);
}

html[data-theme="dark"] .markdown table th {
  background-color: var(--ifm-color-emphasis-200);
}
